import request from '@/utils/request'

export default {

  efficacyList(data) {
    return request({
      url: '/efficacyPlan/page',
      method: 'post',
      data
    })
  },
  addEfficacy(data) {
    return request({
      url: '/efficacyPlan/add',
      method: 'post',
      data
    })
  },
  efficacyDetail(id) {
    return request({
      url:`/efficacyPlan/info?id=${id}`,
      method: 'get',
    })
  },
  editEfficacy(data) {
    return request({
      url: '/efficacyPlan/edit',
      method: 'post',
      data
    })
  },
  delEfficacy(id) {
    return request({
      url: `/efficacyPlan/delete/${id}`,
      method: 'post',
    })
  },
  
  usereffList(data) {
    return request({
      url: '/efficacyPlan/recommendPage',
      method: 'post',
      data
    })
  },
  usereffDetail(id) {
    return request({
      url: `/efficacyPlan/recommendDetail/${id}`,
      method: 'post',
    })
  },







}
